<?php

/**
 * Test configuration
 * Usage:
 * - Local website
 * - Local DB
 * - Standard production error pages (404, 500, etc.)
 */

$dirname = dirname(__FILE__);

return array(
	'yiiPath'=>'/PortableApps/Yii 1.1.10/framework/yii.php',
	'yiicPath'=>'/PortableApps/Yii 1.1.10/framework/yiic.php',
	'yiitPath'=>'/PortableApps/Yii 1.1.10/framework/yiit.php',
	'yiiDebug'=>false,
	'yiiTraceLevel'=>0,
	'configWeb'=>array(
		'components'=>array(
			'db'=>array(
				'connectionString'=>"sqlite:$dirname/../data/test.db",
			),
			'fixture'=>array(
				'class'=>'system.test.CDbFixtureManager',
			),
			'urlManager'=>array(
				'showScriptName'=>true,
			),
			'log'=>array(
				'class'=>'CLogRouter',
				'routes'=>array(
					array(
						'class'=>'CFileLogRoute',
						'levels'=>'error, warning, trace, info',
					),
					array(
						'class'=>'CWebLogRoute',
						'levels'=>'error, warning',
					),
				),
			),
		),
		'params'=>array(
			'mode'=>'test',
			'admin'=>array(
				'name'=>'Julot',
				'email'=>'andy.julot@gmail.com',
			),
		),
	),
	'configConsole'=>array(
		'params'=>'inherit',
	),
);